package cn.wolfcode.p2p;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * @impost 引入core中的配置类
 * @SpringBootApplication 自动配置,扫描包,配置类
 * @PropertySource 资源文件的路径
 */
@SpringBootApplication
@Import(ApplicationCoreConfig.class)
@PropertySource("classpath:application-web.properties")
public class ApplicationWebsiteConfig {

    public static void main(String[] args) {

        SpringApplication.run(ApplicationWebsiteConfig.class,args);
    }
}
